/**
 * */
Rsd.define('Rsd.Faith.pages.ReportZengZhiZhangListPage', {
    extend: 'Rsd.Faith.pages.ListPage',
    requires: ['Rsd.controlEx.ComboBoxEnum','Rsd.Faith.controls.SuoShuQiInput'],
    xtype: 'list-r-zeng-zhi',
    border: false,
    tabTitle: '增值账面',
    searchColumns:[{name:'SuoShuQi',"text": "所属期",xtype:'ctrl-suoshuqi'}],
    newButtons:[{text:'重新核算',handler:'reportHs'}],
    modelType:'ReportZengZhiZhangMuModel',
    readOnly:false,
    formFields: [],
    gridColumns: [
        {
            "text": "序号",
            "xtype": "index",
            "width": 40,
            "index": 0
        },
        {
            "name": "SuoShuQi",
            "dataIndex": "SuoShuQi",
            "sortable": false,
            "text": "所属期",
            "index": 22,
            "exist": true,
            "xtype": "string",
            "width": 150,
            "nobr": true
        },
        {
            "name": "QiChuJinE",
            "dataIndex": "QiChuJinE",
            "sortable": false,
            "text": "期初金额",
            "index": 23,
            "exist": true,
            "xtype": "number",
            "width": 100,
            "precision": 2
        },
        {
            "name": "ShouRuJinE_ZZ",
            "dataIndex": "ShouRuJinE_ZZ",
            "sortable": false,
            "text": "收入金额",
            "index": 24,
            "exist": true,
            "xtype": "number",
            "width": 100,
            "precision": 2
        },
        {
            "name": "ZhiChuJinE",
            "dataIndex": "ZhiChuJinE",
            "sortable": false,
            "text": "支出金额",
            "index": 26,
            "exist": true,
            "xtype": "number",
            "width": 100,
            "precision": 2
        },
        {
            "name": "YuE",
            "dataIndex": "YuE",
            "sortable": false,
            "text": "余额",
            "index": 28,
            "exist": true,
            "xtype": "number",
            "width": 100,
            "precision": 2
        },
        {
            "name": "ZhuangTai",
            "dataIndex": "ZhuangTai",
            "sortable": false,
            "text": "状态",
            "index": 30,
            "exist": true,
            "xtype": "enum",
            "enum": {
                "name": "Rsd.Faith.Core.ZhangMuZhuangTai",
                "valueMember": "code",
                "items": [
                    {
                        "code": "None",
                        "value": 0,
                        "text": "None"
                    },
                    {
                        "code": "JZZ",
                        "value": 1,
                        "text": "记账中"
                    },
                    {
                        "code": "YHS",
                        "value": 2,
                        "text": "已扎帐"
                    }
                ]
            },
            "width": 150,
            "nobr": true
        },
        {
            "name": "Remark",
            "dataIndex": "Remark",
            "sortable": false,
            "text": "备注",
            "index": 200,
            "exist": true,
            "xtype": "string",
            "width": 150,
            "nobr": true
        }
    ],
    formTitle:'增值账面',
    titleField : 'SuoShuQi',
    /*
     * */
    constructor: function (config) {
        config = config || {};
        Rsd.apply(this, config);
    }
});